// 文件路径: src/main/java/com/macro/mall/tiny/modules/oms/dto/UserParam.java
package com.macro.mall.tiny.modules.oms.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotEmpty;

@Data
@Schema(description = "顾客添加参数")
public class UserParam {

    @NotEmpty(message = "手机号不能为空")
    @Schema(description = "手机号")
    private String phone;

    @NotEmpty(message = "密码不能为空")
    @Schema(description = "密码")
    private String password;

    @Schema(description = "名字")
    private String name;

    @Schema(description = "网点")
    private String branch;

    @Schema(description = "1-男，2-女，3-未知")
    private Integer sex = 3;
}
